/**
 * @description
 */


package com.yjxxt.empWithDept;

import com.yjxxt.vo.Dept;
import com.yjxxt.vo.Emp;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class empWithDept {
   private Integer empno;
   private String ename;
   private String job;
   private Integer mgr;
   private String hiredate;
   private Double sal;
   private Double comm;
   private Integer deptno;
   private String dname;  // 部门名称
   private String loc;    // 部门位置

   private Integer employeeCount;
   // 如果需要完整的Dept对象，可以保留
   private Dept deptInfo; // 改个名字避免混淆
   private Emp empInfo;
}
